Component = function()
{

    this.z = 0;
    this.x = 0;
    this.y = 0;
    
    this.initComponent = function( x, y, z )
    {
        this.x = x;
        this.y = y;
        this.z = z;        
    };  
  
    this.isValid = function()
    {
        return this.x <= 640 && this.y <= 480;        
    };
    
    this.update = function( elapsedTime, backBufferContext2D )
    {
    };
    
    this.draw = function( elapsedTime, backBufferContext2D )
    {
    };

    this.keyDown = function( event )
    {
    };
    
    this.keyUp = function( event )
    {
    };
    
};